﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class searchPage : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string searchWord = this.Request.QueryString["searchword"];
        productBus proBus = new productBus();
        DataTable dt = new DataTable();
        dt = proBus.searchProduct(searchWord);
        repItems.DataSource = dt;
        repItems.DataBind();
    }
}